﻿@{
    var additionalClasses = Model.ParentType == "Row" ? "row" : "";
}

<div class="layout-children clearfix @additionalClasses" ng-model="element.children" ui-sortable="sortableOptions" style="{{element.getContainerTemplateStyles()}}">
    <div class="clearfix" ng-repeat="child in element.children" ng-class="getClasses(child)" ng-mouseenter="child.setIsActive(true)" ng-mouseleave="child.setIsActive(false)" ng-click="click(child, $event)" tabindex="{{$id}}">
        <orc-layout-child element="child" />
    </div>
</div>
